package com.example.neusoft.a16110100126yttordering.service;

import com.example.neusoft.a16110100126yttordering.bean.LoginBean;
import com.example.neusoft.a16110100126yttordering.bean.Result;


import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
//定义Retrofit需要的接口
public interface UserService {
    @GET("userLogin.do")
    Call<LoginBean>userLogin(@Query("username")String username,@Query("userpass")String userpass);
    @GET("userRegister.do")
    Call<Result>userRegister(
      @Query("username")String username,
      @Query("userpass")String userpass,
      @Query("mobilenum")String mobilenum,
      @Query("address")String address,
      @Query("comment")String comment
    );
}
